Looking at Magnitude and Phase in the STFT

In this part of the assignment we will modify time and pitch independently using the stft, which is historically often refered to as a "phase vocoder" in audio processing.

Let's grab some audio...

Which is more important: Phase or Magnitude?

Here we will do an experiment where we compare what happens when we randomize the phases of an stft and take its istft to what happens if we randomize the magnitudes.

Let's see what happens when we use a relatively small window size and hop size...

So, which is more important in the short time domain? Phase or Magnitude? How does this depend on window size and hop size? Why might window size and hop size matter?

Write your answer below in this markdown cell... you don't need to write more than a few sentences for each.

How do smaller/larger window and hop sizes affect the importance of phase and magnitude?:

[Your answer here]

Hint: Remember our discussion of randomizing phase vs magnitude in the non-short time Fourier domain. What hop size and window size does this correspond to?